package com.xlh.dao.cs;

import com.xlh.pojo.cs.CoursePhase;
import com.xlh.pojo.cs.CoursePhaseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CoursePhaseMapper {
    long countByExample(CoursePhaseExample example);

    int deleteByExample(CoursePhaseExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CoursePhase record);

    int insertSelective(CoursePhase record);

    List<CoursePhase> selectByExample(CoursePhaseExample example);

    CoursePhase selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CoursePhase record, @Param("example") CoursePhaseExample example);

    int updateByExample(@Param("record") CoursePhase record, @Param("example") CoursePhaseExample example);

    int updateByPrimaryKeySelective(CoursePhase record);

    int updateByPrimaryKey(CoursePhase record);
}